home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / theLifeArk.swf / scripts / DefineSprite_390 / frame_390 / DoAction.as
Encoding:
Text File  |  2011-09-19  |  390 b   |  14 lines

  1. if(_global.scene.et.runSta == "hide")
  2. {
  3.    _global.scene.et.gotoAndStop("hideReady");
  4. }
  5. _global.scene.cloud.setRainOver();
  6. if(!_global.scene.landGreenScoreOver)
  7. {
  8.    _global.scene.landGreenScoreOver = true;
  9.    _global.ctn.game.addScore(354,478,70,60);
  10.    _global.ctn.game.addScore(20,Math.round(5 * Math.random()),70,60);
  11. }
  12. _global.scene.leavesCtrl.leafType = "green";
  13. stop();
  14.